package com.aipartner.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * VIP Package Entity
 * 
 * @author AI Partner Team
 * @since 2024-09-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("vip_packages")
public class VipPackage {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    @TableField("type")
    private String type;
    
    @TableField("name")
    private String name;
    
    @TableField("price")
    private BigDecimal price;
    
    @TableField("original_price")
    private BigDecimal originalPrice;
    
    @TableField("description")
    private String description;
    
    @TableField("duration")
    private Integer duration;
    
    @TableField("recommended")
    private Boolean recommended;
    
    @TableField("status")
    private Integer status;
    
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
